In this paper, a new method for robust control of Robotic arm position using particle swarm optimization is proposed. The whole Robotic system, including the Robot arm and motors, is considered in the control problem. The main purpose of this paper is to obtain an optimal estimate of the parameters of the control law in order to achieve the minimum tracking error that congestion optimization is used. Also, the design of the control law is based on the nominal model. The real model uses intelligent systems. Optimal robust control is confirmed by convergence analysis. The stability of the system is demonstrated using Lyapunov's direct method, and the simulation results show the effectiveness of the proposed methods applied to a spherical Robot driven by permanent magnet dc motors. Using the simulation results, the optimal values of the parameters in the torque controllers have not converged to their true values due to the large modeless dynamics, while they have converged to their true values in the voltage control because it has only parametric uncertainty. The torque control law also requires position vector, velocity vector, and acceleration vector feedback. These feedbacks cannot be easily obtained. In contrast, the law of voltage control requires feedback from the position vector, velocity vector, current vector, and time derivative. These feedbacks can be easily accessed.